home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
netmail
/
tmnice42.zip
/
TMN-CONF.DOC
< prev
next >
Wrap
Text File
|
1996-05-26
|
9KB
|
221 lines
-=> TMN-CONF.DOC <=-
This is the explanation of how the link between Bo Bendtsen's
excellent TerMail program and TmNice can be made.
If you use an other program than TerMail, e.g. Blue Wave,
then you can use TmNice as well. However, a number of TmNice
features will not be available. The main function of TmNice,
- the automatic reformatting of text - works with any mailer.
This configuration program is specially made to create the
TMNICE.INI file for use with TerMail. If you want to use TmNice
with an other program then you should create a TMNICE.INI file
manually. You will find an example in the file BLUEWAVE.INI.
You can leave this programm by pressing Escape twice.
All TerMail users, please continue reading! Press ──┐
│
└─────> [PgDn]
-=> TMN-CONF.DOC <=-
How it works.
At the end of the TM.CFG file you define the netmail and
echomail areas you are connected to. Example:
% EchoId Description Group
% |───────────────| |────────────────────────────| |──────|
Desc NETMAIL Private netmail ┌─────< NETMAIL
│
% Local area │
Desc LOCAL-POINT Point chat area │┌────< BFMLOCAL
% Fido areas ││
Desc TERMINAT.028 Lauwers Terminat.028 ││┌───< FidoDutch
Desc TERMINAT Lauwers TERMINATE_Int │││┌──< FidoEngl
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ││││
█ Now concentrate on the Group names.█ ││││
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ││││ [PgDn]
Each Group can be connected to a different ││││
template ││││
││││
% Group Days Max Clean User Template││││
% |────────| |─| |───| |───| |──| |────| ││││
Group NETMAIL 30 200 300 2 1 <─┘│││
Group BFMLOCAL 0 500 550 2 2 <──┘││
Group FidoDutch 0 1000 1050 2 3 <───┘│
Group FidoEngl 0 500 550 2 4 <────┘
The rest of the lines are left out for clarity. Note that in
every Group there is a reference to a Template number. These
Templates you will find around the middle of the TM.CFG file.
These templates, which are defined in your Termail TM.CFG file,
will become the chain to TmNice. In every MsgStart line of a
template you can now define which set of TmNice options should
be used for messages created using that Template.
[PgDn]
% Group Days Max Clean User Template
% |──────| |─| |───| |───| |──| |----|
Group NETMAIL 30 200 300 2 1 >──┐
Group BFMLOCAL 0 500 550 2 2 >──┼┐
Group FidoDutch 0 1000 1050 2 3 ││
Group FidoEngl 0 500 550 2 4 ││
││ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
% Netmail ││ ▌ Here you see ▐
Template 1 <───────┘│ ▌ how the ▐
MsgStart Hi @F,@CR │ ▌ MsgStart ▐
│ ▌ lines might ▐
% Dutch local │ ▌ appear, prior▐
Template 2 <────────┘ ▌to configuring▐
MsgStart Hallo @F, hoe gaat het?@CR ▌ TmNice ▐
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
For brevity the other templates are not illustrated and only
the MsgStart lines are shown. The MsgEnd and MsgQuote lines
are not altered for TmNice. On the next screen you see
how this configuration program extends the MsgStart lines.
[PgDn]
This configuration program will add TerMail macro's to the
MsgStart line of each template:
Template 1
MsgStart Hi @F,@CR
will be extended to:
Template 1
MsgStart ~TAGNETMAIL ~F@F ~L@L ~TO@TO ~S@SUBJECT @CRHi @F,@CR
The insertion of the TmNice macro codes as a prefix to the
MsgStart line enables TmNice to provide name, surname, full
name and subject into tag lines and signature files.
[PgDn]
TmNice uses the ~TAG keyword to obtain the name of a 'section'
block of options in the TMNICE.INI file.
~TAGNETMAIL ~FJohn ~LBrown ~TOJohn Brown ~SThe subject
═══╤═══
│
┌<─┘
│
═══╧═══
[NETMAIL]
Reformat=YES
AskBefore=YES
AddTagLine=YES
AutoTag=NO
TagFile=D:\TERMINAT\TERMAIL\TMNICE\TMNICE.TAG
...
...
[PgDn]
Résumé:
1. At the end of TM.MSG you define Group names to the mail
areas.
2. In the 'Groups Block' you make a reference to a Template
number.
3. The MsgStart line of each Template is extended; ~TAGxxxx
points to a [xxxx] section in the TMNICE.INI file.
4. In the TMNICE.INI [SECTION] all options for that particular
section are defined.
You have to make these modifications only once. The most
important thing is that you first decide how to organize
the Group names and Templates. You can define up to 15
Templates, so you can also have up to 15 different Groups.
[PgDn]
Each template can be used for different purposes, e.g.
- a template for using with netmail messages you create
- a template for replying to netmail messages
- a template for an echo mail message that was addressed
to you
- a template for joining a conversation (butting in) on
two other people.
- one or more templates for writing in foreign language
areas.
[PgDn]
Each of these templates can be connected to a [SECTION] in
the TMNICE.INI file. Therefore it is very important that
you first modify the templates in TM.CFG according to your
needs.
The TM.CFG templates come pre-defined for a lot of different
languages. These templates are good examples of how to use
them, however they generally are not fine tuned to what you
really want.
If you have not done so already, you are advised to organise
the templates first. Jot down the numbers of the templates
with a short descriptive name for the template. Here you have
my templates:
[PgDn]
1. DUTCH_NET_NEW for writing a new netmail in Dutch
2. DUTCH_NET_REPLY for replying in Dutch to someone
3. ENGLISH_NET_NEW for writing a new netmail in English
4. ENGLISH_NET_REPLY for replying in English to someone
5. ENGLISH_REPLY for replying to an English echo mail
6. ENGLISH_CHAT for joining an English conversation
7. DUTCH_REPLY for replying to a Dutch echo mail
8. DUTCH_CHAT for joining a Dutch conversation
9. DUTCH_NOTAGS for a Dutch area (tag lines are forbidden)
10. FORWARD for forwarding a message. (no re-format)
Each of these templates has a [section] in TMNICE.INI where
you define which Tag Line File to use or which signature to
add and so on.
As stated previously you can define up to a maximum of
15 templates in TM.CFG. However in TMNICE.INI you can
manually add more than 15 [sections] and these you could
use for special purposes. [PgDn]
If you want to include TmNice macros when replying to
messages, then you can also modify other lines of the template
such as MsgQuote. For example you could use the following when
replying to a message addressed to you (see 5):
MsgQuote Thank you for your message of @DATE about @SUBJECT
... and for joining a conversation (see 6):
MsgQuote On @DATE @FROM wrote to @TO about @SUBJECT
You can switch fast to a particular template by pressing
the 'T'-key in TerMail.
Finally delete unused templates from TM.CFG or deactivate them
by prefixing the lines with a '%' sign. This configuration
program will prompt you for a descriptive name for each
template, for which a label name has not previously been
defined. [Escape]